Skip to content

Fix issues flagged by fuzz testing#607

Merged
solidpixel merged 3 commits intomainfrom
fuzzer
May 2, 2026
Merged

Fix issues flagged by fuzz testing#607
solidpixel merged 3 commits intomainfrom
fuzzer

Conversation

@solidpixel
Copy link
Copy Markdown
Contributor

One fuzzer issue with a missing constraint causing false positives.

One minor bug that can cause an undefined value to be read by the weight quant limiting heuristic if all one partition block trials resulted in error blocks. This limit was only used for filtering, so it could result in later searches with two or more partitions searching less of the search space than they should, causing a drop in image quality. It is unlikely to occur in real images because it is unlikely that all one partition trials result in error blocks.

solidpixel added 3 commits May 2, 2026 22:28
Avoid trying to read a block mode when compression failed and returned
an error block. This is uncommon in normal use, but can be triggered
by random colors that are difficult to compress.
@solidpixel solidpixel merged commit a1728f6 into main May 2, 2026
9 checks passed
@solidpixel solidpixel deleted the fuzzer branch May 2, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant